﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ASale_RePairChange.aspx.cs" Inherits="ArtLand.OA.Project.AfterSale.ASale_RePairChange" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager runat="server" ID="page1" AutoSizePanelID="pan1" />
        <ext:Panel runat="server" ID="pan1" ShowBorder="false" ShowHeader="false" AutoScroll="true">
            <Toolbars>
                <ext:Toolbar Position="Footer">
                    <Items>
                        <ext:Button runat="server" ID="btnSave" Text="保存" ValidateForms="sim1" OnClick="btnSave_Click" Icon="Accept"></ext:Button>
                        <ext:Button runat="server" ID="btnClose" Text="关闭" Icon="SystemClose"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:ContentPanel runat="server" ID="content1" BodyPadding="10px" ShowBorder="false" ShowHeader="false">

                    <style>
                        #mdA table, #mdA table td, #mdA table th {
                            border: 1px solid #000000;
                            border-collapse: collapse;
                            font-size: 14px;
                            text-align: center;
                        }
                    </style>
                    <div id="mdA">
                        <table width="650" height="380">
                            <tr>
                                <td colspan="7" style="text-align: right; padding-right: 5px;">
                                    <ext:Label runat="server" ID="Lbl_CRDATE"></ext:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="7">
                                    <div>
                                        <div style="float: left; padding-left: 10px; padding-right: 4px; line-height: 20px;"><span style="color: red;">*</span> 售后维修电话:</div>
                                        <div style="float: left;">
                                            <ext:TextBox Width="160px" runat="server" ID="txt_TELNUB" Required="true"></ext:TextBox>
                                        </div>
                                        <div style="float: right; padding-right: 10px;">
                                            <ext:TextBox Width="160px" runat="server" ID="txt_OEMAIL"></ext:TextBox>
                                        </div>
                                        <div style="float: right; padding-right: 4px; line-height: 20px;"><span style="color: red;">*</span> 售后服务邮箱:</div>
                                    </div>

                                </td>
                            </tr>
                            <tr>
                                <td style="width: 100px"><span style="color: red;">*</span> 客户名称</td>
                                <td colspan="3" style="text-align: left; padding-left: 5px;">
                                    <ext:TriggerBox ID="txt_CUTNAM" Required="true" Label="客户名称" Width="140px" EnableEdit="false" Readonly="false" TriggerIcon="Search" EmptyText="选择客户" runat="server">
                                    </ext:TriggerBox>
                                    <ext:HiddenField runat="server" ID="hid_CUTNAM"></ext:HiddenField>
                                </td>
                                <td style="width: 100px"><span style="color: red;">*</span> 地址</td>
                                <td colspan="2" style="text-align: left; padding-left: 5px;">
                                    <ext:TextBox Width="200px" runat="server" ID="txt_ADDRES"></ext:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td><span style="color: red;">*</span> 电话</td>
                                <td colspan="3" style="text-align: left; padding-left: 5px;">
                                    <ext:TextBox Width="200px" runat="server" ID="txt_CUTTEL"></ext:TextBox>
                                </td>
                                <td><span style="color: red;">*</span> 联系人</td>
                                <td colspan="2" style="text-align: left; padding-left: 5px;">
                                    <ext:TextBox Width="200px" runat="server" ID="txt_CONTAT"></ext:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td rowspan="5"><span style="color: red;">*</span> 维修项目</td>
                                <td colspan="4" rowspan="5" style="text-align: left; padding-left: 5px;">
                                    <ext:TextArea runat="server" ID="txt_PRJECT" Height="120px" Width="300px"></ext:TextArea>

                                </td>
                                <td><span style="color: red;">*</span> 原送货安装日期</td>
                                <td style="width: 120px; text-align: left; padding-left: 5px;">
                                    <ext:DatePicker runat="server" ID="txt_SEDATE" Width="100px"></ext:DatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td><span style="color: red;">*</span> 通知维修日期</td>
                                <td style="text-align: left; padding-left: 5px;">
                                    <ext:DatePicker runat="server" ID="txt_REDATE" Width="100px"></ext:DatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td><span style="color: red;">*</span> 要求完工期</td>
                                <td style="text-align: left; padding-left: 5px;">
                                    <ext:DatePicker runat="server" ID="txt_REQDAT" Width="100px"></ext:DatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td><span style="color: red;">*</span> 实际完工期</td>
                                <td style="text-align: left; padding-left: 5px;">
                                    <ext:DatePicker runat="server" ID="txt_COMDAT" Width="100px"></ext:DatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td><span style="color: red;">*</span> 维修员签名</td>
                                <td style="text-align: left; padding-left: 5px;">
                                    <ext:TextBox runat="server" ID="txt_ENGSIG" Width="100px"></ext:TextBox>
                                </td>
                            </tr>
                            <tr runat="server" id="tr1">
                                <td><span style="color: red;">*</span> 维修结果</td>
                                <td colspan="4">
                                    <div style="float: left; padding-left: 4px;">
                                        <ext:CheckBox OnCheckedChanged="CheckBox1_CheckedChanged" AutoPostBack="true" ID="CheckBox1" runat="server" Text="满意"></ext:CheckBox>
                                    </div>
                                    <div style="float: left; padding-left: 10px;">
                                        <ext:CheckBox ID="CheckBox2" runat="server" Text="不满意" AutoPostBack="true" OnCheckedChanged="CheckBox2_CheckedChanged"></ext:CheckBox>
                                    </div>
                                    <div style="float: left">
                                        <ext:TextBox runat="server" ID="txt_RESULTElse" Width="120px" Enabled="false" EmptyText="填写不满意的原因"></ext:TextBox>
                                    </div>
                                </td>
                                <td><span style="color: red;">*</span> 客户签名</td>
                                <td style="text-align: left; padding-left: 5px;">
                                    <ext:TextBox runat="server" ID="txt_CUTSIG" Width="100px"></ext:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td><span style="color: red;">*</span> 维修性质</td>
                                <td>
                                    <ext:CheckBox OnCheckedChanged="CheckBox3_CheckedChanged" AutoPostBack="true" ID="CheckBox3" runat="server" Text="免费"></ext:CheckBox>
                                </td>
                                <td colspan="5">
                                    <div style="float: left; padding-left: 5px;">
                                        <ext:CheckBox Text="收费" runat="server" AutoPostBack="true" ID="CheckBox4" OnCheckedChanged="CheckBox4_CheckedChanged"></ext:CheckBox>
                                    </div>
                                    <div style="float: left;">
                                        <ext:TextBox runat="server" EmptyText="输入费用额度" ID="txt_Price" Enabled="false"></ext:TextBox>
                                    </div>
                                    <div style="float: left; padding-left: 5px;">
                                        <ext:RadioButtonList runat="server" Enabled="false" ID="RList">
                                            <ext:RadioItem Text="已收" Value="0" />
                                            <ext:RadioItem Text="未收" Selected="true" Value="1" />
                                        </ext:RadioButtonList>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2"><span style="color: red;">*</span> 检查其他家具产品</td>
                                <td colspan="3" style="padding-left: 5px;">
                                    <ext:RadioButtonList ID="Rdo_IFCHEK" runat="server">
                                        <ext:RadioItem Text="是" Selected Value="0" />
                                        <ext:RadioItem Text="否" Value="1" />
                                    </ext:RadioButtonList>
                                </td>
                                <td>状态</td>
                                <td style="padding-left: 5px;">
                                    <ext:DropDownList runat="server" ID="Drp_Status" Width="85px">
                                        <ext:ListItem Text="未完成" Selected="true" Value="0" />
                                        <ext:ListItem Text="已完成" Value="1" />
                                    </ext:DropDownList>
                                </td>
                            </tr>
                        </table>
                    </div>
                </ext:ContentPanel>
                <ext:Grid runat="server" ID="Grid1" Width="660px" CssStyle="padding-left:10px" Height="170px" OnRowDataBound="Grid1_RowDataBound" Title="维修单据原始凭证" OnRowCommand="Grid1_RowCommand" AutoScroll="true" ShowHeader="true" EnableRowNumber="true">
                    <Toolbars>
                        <ext:Toolbar ID="Toolbar1" runat="server">
                            <Items>
                                <ext:FileUpload runat="server" ID="filePhoto" ButtonText="上传附件" ButtonOnly="true"
                                    AutoPostBack="true" ButtonIcon="DiskUpload" OnFileSelected="filePhoto_FileSelected" Width="77px" Height="20px">
                                </ext:FileUpload>
                            </Items>
                        </ext:Toolbar>
                    </Toolbars>
                    <Columns>
                        <ext:BoundField DataField="FileName" Width="300px" HeaderText="文件名" />
                        <ext:BoundField DataField="FileName" Width="250px" HeaderText="文件名" Hidden="true" />
                        <ext:LinkButtonField ConfirmText="你确定要这么做么？" ConfirmTarget="Top" Icon="Decline" ColumnID="ID"
                            Width="50px" CommandName="Del" TextAlign="Center" HeaderText="删除" />
                    </Columns>
                </ext:Grid>
            </Items>
        </ext:Panel>
        <ext:HiddenField runat="server" ID="hf"></ext:HiddenField>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="500px" Height="400px">
        </ext:Window>
    </form>
</body>
</html>
